<?php
include_once("../include/init.php");

extract($_POST);
$content = trim($content);
$uid = $_SESSION['uid'];
$time = time();
$sql = "INSERT INTO tk_pinglun (p_content,p_status,uid,mid,p_time,o_id)  values('$content','$comment','$uid','$pid','$time',$oid) ";


mysql_query($sql);
if(mysql_affected_rows()>0){
	msg('评价成功');
} else{
	msg('评价失败');
}

?>